from django.db import models

# Create your models here.
class micorservice(models.Model):
    servicename = models.CharField(unique=True,max_length=10)
    protocol = models.CharField(max_length=10,primary_key=True)
    port = models.IntegerField(default=0)
    apinumber = models.IntegerField(auto_created=True)
    person = models.CharField(unique=True,max_length=10)
    desc = models.TextField()
    createtime = models.DateTimeField(unique=True)
    modifytime = models.DateTimeField(unique=True)